<div class="search-add-box">
    项目类型：
    <select [(ngModel)]="selectValue" style="width: 100px;height: 32px;border: 1px solid #d9d9d9;border-radius: 4px;" >
        <option value="">全部</option>
        <option *ngFor="let list of s_list" value="{{list.p_type}}">{{list.p_type}}</option>
    </select>
    项目名称：
    <nz-input [nzPlaceHolder]="'请输入项目名称'" [(ngModel)]="searchValue" style="width: 200px;"
              [nzSize]="'large'"></nz-input>
    <button nz-button type="submit" class="mar-left" [nzType]="'primary'" [nzSize]="'large'" (click)="search()">查询
    </button>
</div>
<nz-table #nzTable2 [nzDataSource]="data" [nzPageSize]="10" (nzDataChange)="_displayDataChange($event)"
          (nzPageIndexChange)="_refreshStatus()" (nzPageSizeChange)="_refreshStatus()" [nzLoading]="_loading">
    <thead nz-thead>
    <tr>
        <th nz-th><span>项目名称</span></th>
        <th nz-th><span>演练日期</span></th>
        <th nz-th><span>演练时长（分）</span></th>
        <th nz-th><span>项目类型</span></th>
        <th nz-th><span>演练班级</span></th>
        <th nz-th><span>演练课程</span></th>
        <th nz-th><span>详情</span></th>
    </tr>
    </thead>
    <tbody nz-tbody>
    <tr nz-tbody-tr *ngFor="let data of nzTable2.data">
        <td nz-td>{{data.p_name}}</td>
        <td nz-td>{{data.createtime}}</td>
        <td nz-td>{{data.averagetime}}</td>
        <td nz-td>{{data.p_type}}</td>
        <td nz-td>{{data.cla_name}}</td>
        <td nz-td>{{data.cour_name}}</td>
        <td nz-td>
            <span>
                <a>项目流程</a>
                <span nz-table-divider></span>
                <a [routerLink]="['/statistics/details',{id:data.id,pid:data.p_id,type:'ktyl'}]">学生详情</a>
            </span>
        </td>
    </tr>
    </tbody>
</nz-table>
